package com.mtw.bbs.auth.service;




import com.mtw.bbs.userAdmin.pojo.dto.UserDto;
import jakarta.servlet.http.HttpServletRequest;

import java.util.Map;


public interface AuthenticationService {

    /**
     * 登出
     */
    boolean logout(HttpServletRequest request);


    /**
     * 校验权限
     * @param token
     */
    UserDto authentication(String token);




    /**
     * 校验权限
     * @returnr                 认证用户信息
     */
    UserDto authentication(Map<String, Object> param);


}
